Integrand size = 24, antiderivative size = 103 \[ \int \frac {\left (a+b x^2\right )^2 \sqrt {c+d x^2}}{x^6} \, dx=-\frac {b^2 \sqrt {c+d x^2}}{x}-\frac {a^2 \left (c+d x^2\right )^{3/2}}{5 c x^5}-\frac {2 a (5 b c-a d) \left (c+d x^2\right )^{3/2}}{15 c^2 x^3}+b^2 \sqrt {d} \text {arctanh}\left (\frac {\sqrt {d} x}{\sqrt {c+d x^2}}\right ) \]
-1/5*a^2*(d*x^2+c)^(3/2)/c/x^5-2/15*a*(-a*d+5*b*c)*(d*x^2+c)^(3/2)/c^2/x^3 +b^2*arctanh(x*d^(1/2)/(d*x^2+c)^(1/2))*d^(1/2)-b^2*(d*x^2+c)^(1/2)/x
Time = 0.16 (sec) , antiderivative size = 104, normalized size of antiderivative = 1.01 \[ \int \frac {\left (a+b x^2\right )^2 \sqrt {c+d x^2}}{x^6} \, dx=-\frac {\sqrt {c+d x^2} \left (15 b^2 c^2 x^4+10 a b c x^2 \left (c+d x^2\right )+a^2 \left (3 c^2+c d x^2-2 d^2 x^4\right )\right )}{15 c^2 x^5}-b^2 \sqrt {d} \log \left (-\sqrt {d} x+\sqrt {c+d x^2}\right ) \]
-1/15*(Sqrt[c + d*x^2]*(15*b^2*c^2*x^4 + 10*a*b*c*x^2*(c + d*x^2) + a^2*(3 *c^2 + c*d*x^2 - 2*d^2*x^4)))/(c^2*x^5) - b^2*Sqrt[d]*Log[-(Sqrt[d]*x) + S qrt[c + d*x^2]]
Time = 0.24 (sec) , antiderivative size = 112, normalized size of antiderivative = 1.09, number of steps used = 6, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.208, Rules used = {365, 358, 247, 224, 219}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {\left (a+b x^2\right )^2 \sqrt {c+d x^2}}{x^6} \, dx\) |
\(\Big \downarrow \) 365 |
\(\displaystyle \frac {\int \frac {\left (5 b^2 c x^2+2 a (5 b c-a d)\right ) \sqrt {d x^2+c}}{x^4}dx}{5 c}-\frac {a^2 \left (c+d x^2\right )^{3/2}}{5 c x^5}\) |
\(\Big \downarrow \) 358 |
\(\displaystyle \frac {5 b^2 c \int \frac {\sqrt {d x^2+c}}{x^2}dx-\frac {2 a \left (c+d x^2\right )^{3/2} (5 b c-a d)}{3 c x^3}}{5 c}-\frac {a^2 \left (c+d x^2\right )^{3/2}}{5 c x^5}\) |
\(\Big \downarrow \) 247 |
\(\displaystyle \frac {5 b^2 c \left (d \int \frac {1}{\sqrt {d x^2+c}}dx-\frac {\sqrt {c+d x^2}}{x}\right )-\frac {2 a \left (c+d x^2\right )^{3/2} (5 b c-a d)}{3 c x^3}}{5 c}-\frac {a^2 \left (c+d x^2\right )^{3/2}}{5 c x^5}\) |
\(\Big \downarrow \) 224 |
\(\displaystyle \frac {5 b^2 c \left (d \int \frac {1}{1-\frac {d x^2}{d x^2+c}}d\frac {x}{\sqrt {d x^2+c}}-\frac {\sqrt {c+d x^2}}{x}\right )-\frac {2 a \left (c+d x^2\right )^{3/2} (5 b c-a d)}{3 c x^3}}{5 c}-\frac {a^2 \left (c+d x^2\right )^{3/2}}{5 c x^5}\) |
\(\Big \downarrow \) 219 |
\(\displaystyle \frac {5 b^2 c \left (\sqrt {d} \text {arctanh}\left (\frac {\sqrt {d} x}{\sqrt {c+d x^2}}\right )-\frac {\sqrt {c+d x^2}}{x}\right )-\frac {2 a \left (c+d x^2\right )^{3/2} (5 b c-a d)}{3 c x^3}}{5 c}-\frac {a^2 \left (c+d x^2\right )^{3/2}}{5 c x^5}\) |
-1/5*(a^2*(c + d*x^2)^(3/2))/(c*x^5) + ((-2*a*(5*b*c - a*d)*(c + d*x^2)^(3 /2))/(3*c*x^3) + 5*b^2*c*(-(Sqrt[c + d*x^2]/x) + Sqrt[d]*ArcTanh[(Sqrt[d]* x)/Sqrt[c + d*x^2]]))/(5*c)
3.7.9.3.1 Defintions of rubi rules used
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))* ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x] /; FreeQ[{a, b}, x] && NegQ[a/b] && (Gt Q[a, 0] || LtQ[b, 0])
Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a, b}, x] && !GtQ[a, 0]
Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^2)^(p_), x_Symbol] :> Simp[(c*x)^ (m + 1)*((a + b*x^2)^p/(c*(m + 1))), x] - Simp[2*b*(p/(c^2*(m + 1))) Int[ (c*x)^(m + 2)*(a + b*x^2)^(p - 1), x], x] /; FreeQ[{a, b, c}, x] && GtQ[p, 0] && LtQ[m, -1] && !ILtQ[(m + 2*p + 3)/2, 0] && IntBinomialQ[a, b, c, 2, m, p, x]
Int[((e_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^2)^(p_.)*((c_) + (d_.)*(x_)^2), x_ Symbol] :> Simp[c*(e*x)^(m + 1)*((a + b*x^2)^(p + 1)/(a*e*(m + 1))), x] + S imp[d/e^2 Int[(e*x)^(m + 2)*(a + b*x^2)^p, x], x] /; FreeQ[{a, b, c, d, e , m, p}, x] && NeQ[b*c - a*d, 0] && EqQ[Simplify[m + 2*p + 3], 0] && NeQ[m, -1]
Int[((e_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^2)^(p_)*((c_) + (d_.)*(x_)^2)^2, x _Symbol] :> Simp[c^2*(e*x)^(m + 1)*((a + b*x^2)^(p + 1)/(a*e*(m + 1))), x] - Simp[1/(a*e^2*(m + 1)) Int[(e*x)^(m + 2)*(a + b*x^2)^p*Simp[2*b*c^2*(p + 1) + c*(b*c - 2*a*d)*(m + 1) - a*d^2*(m + 1)*x^2, x], x], x] /; FreeQ[{a, b, c, d, e, p}, x] && NeQ[b*c - a*d, 0] && LtQ[m, -1]
Time = 2.94 (sec) , antiderivative size = 101, normalized size of antiderivative = 0.98
method | result | size |
risch | \(-\frac {\sqrt {d \,x^{2}+c}\, \left (-2 a^{2} d^{2} x^{4}+10 x^{4} a b c d +15 b^{2} c^{2} x^{4}+a^{2} c d \,x^{2}+10 a b \,c^{2} x^{2}+3 a^{2} c^{2}\right )}{15 x^{5} c^{2}}+b^{2} \sqrt {d}\, \ln \left (x \sqrt {d}+\sqrt {d \,x^{2}+c}\right )\) | \(101\) |
pseudoelliptic | \(\frac {5 b^{2} c^{2} \sqrt {d}\, \operatorname {arctanh}\left (\frac {\sqrt {d \,x^{2}+c}}{x \sqrt {d}}\right ) x^{5}-\left (\left (5 b^{2} x^{4}+\frac {10}{3} a b \,x^{2}+a^{2}\right ) c^{2}+\frac {a d \,x^{2} \left (10 b \,x^{2}+a \right ) c}{3}-\frac {2 a^{2} d^{2} x^{4}}{3}\right ) \sqrt {d \,x^{2}+c}}{5 c^{2} x^{5}}\) | \(103\) |
default | \(b^{2} \left (-\frac {\left (d \,x^{2}+c \right )^{\frac {3}{2}}}{c x}+\frac {2 d \left (\frac {x \sqrt {d \,x^{2}+c}}{2}+\frac {c \ln \left (x \sqrt {d}+\sqrt {d \,x^{2}+c}\right )}{2 \sqrt {d}}\right )}{c}\right )+a^{2} \left (-\frac {\left (d \,x^{2}+c \right )^{\frac {3}{2}}}{5 c \,x^{5}}+\frac {2 d \left (d \,x^{2}+c \right )^{\frac {3}{2}}}{15 c^{2} x^{3}}\right )-\frac {2 a b \left (d \,x^{2}+c \right )^{\frac {3}{2}}}{3 c \,x^{3}}\) | \(124\) |
-1/15*(d*x^2+c)^(1/2)*(-2*a^2*d^2*x^4+10*a*b*c*d*x^4+15*b^2*c^2*x^4+a^2*c* d*x^2+10*a*b*c^2*x^2+3*a^2*c^2)/x^5/c^2+b^2*d^(1/2)*ln(x*d^(1/2)+(d*x^2+c) ^(1/2))
Time = 0.28 (sec) , antiderivative size = 221, normalized size of antiderivative = 2.15 \[ \int \frac {\left (a+b x^2\right )^2 \sqrt {c+d x^2}}{x^6} \, dx=\left [\frac {15 \, b^{2} c^{2} \sqrt {d} x^{5} \log \left (-2 \, d x^{2} - 2 \, \sqrt {d x^{2} + c} \sqrt {d} x - c\right ) - 2 \, {\left ({\left (15 \, b^{2} c^{2} + 10 \, a b c d - 2 \, a^{2} d^{2}\right )} x^{4} + 3 \, a^{2} c^{2} + {\left (10 \, a b c^{2} + a^{2} c d\right )} x^{2}\right )} \sqrt {d x^{2} + c}}{30 \, c^{2} x^{5}}, -\frac {15 \, b^{2} c^{2} \sqrt {-d} x^{5} \arctan \left (\frac {\sqrt {-d} x}{\sqrt {d x^{2} + c}}\right ) + {\left ({\left (15 \, b^{2} c^{2} + 10 \, a b c d - 2 \, a^{2} d^{2}\right )} x^{4} + 3 \, a^{2} c^{2} + {\left (10 \, a b c^{2} + a^{2} c d\right )} x^{2}\right )} \sqrt {d x^{2} + c}}{15 \, c^{2} x^{5}}\right ] \]
[1/30*(15*b^2*c^2*sqrt(d)*x^5*log(-2*d*x^2 - 2*sqrt(d*x^2 + c)*sqrt(d)*x - c) - 2*((15*b^2*c^2 + 10*a*b*c*d - 2*a^2*d^2)*x^4 + 3*a^2*c^2 + (10*a*b*c ^2 + a^2*c*d)*x^2)*sqrt(d*x^2 + c))/(c^2*x^5), -1/15*(15*b^2*c^2*sqrt(-d)* x^5*arctan(sqrt(-d)*x/sqrt(d*x^2 + c)) + ((15*b^2*c^2 + 10*a*b*c*d - 2*a^2 *d^2)*x^4 + 3*a^2*c^2 + (10*a*b*c^2 + a^2*c*d)*x^2)*sqrt(d*x^2 + c))/(c^2* x^5)]
Leaf count of result is larger than twice the leaf count of optimal. 199 vs. \(2 (92) = 184\).
Time = 1.83 (sec) , antiderivative size = 199, normalized size of antiderivative = 1.93 \[ \int \frac {\left (a+b x^2\right )^2 \sqrt {c+d x^2}}{x^6} \, dx=- \frac {a^{2} \sqrt {d} \sqrt {\frac {c}{d x^{2}} + 1}}{5 x^{4}} - \frac {a^{2} d^{\frac {3}{2}} \sqrt {\frac {c}{d x^{2}} + 1}}{15 c x^{2}} + \frac {2 a^{2} d^{\frac {5}{2}} \sqrt {\frac {c}{d x^{2}} + 1}}{15 c^{2}} - \frac {2 a b \sqrt {d} \sqrt {\frac {c}{d x^{2}} + 1}}{3 x^{2}} - \frac {2 a b d^{\frac {3}{2}} \sqrt {\frac {c}{d x^{2}} + 1}}{3 c} - \frac {b^{2} \sqrt {c}}{x \sqrt {1 + \frac {d x^{2}}{c}}} + b^{2} \sqrt {d} \operatorname {asinh}{\left (\frac {\sqrt {d} x}{\sqrt {c}} \right )} - \frac {b^{2} d x}{\sqrt {c} \sqrt {1 + \frac {d x^{2}}{c}}} \]
-a**2*sqrt(d)*sqrt(c/(d*x**2) + 1)/(5*x**4) - a**2*d**(3/2)*sqrt(c/(d*x**2 ) + 1)/(15*c*x**2) + 2*a**2*d**(5/2)*sqrt(c/(d*x**2) + 1)/(15*c**2) - 2*a* b*sqrt(d)*sqrt(c/(d*x**2) + 1)/(3*x**2) - 2*a*b*d**(3/2)*sqrt(c/(d*x**2) + 1)/(3*c) - b**2*sqrt(c)/(x*sqrt(1 + d*x**2/c)) + b**2*sqrt(d)*asinh(sqrt( d)*x/sqrt(c)) - b**2*d*x/(sqrt(c)*sqrt(1 + d*x**2/c))
Time = 0.20 (sec) , antiderivative size = 94, normalized size of antiderivative = 0.91 \[ \int \frac {\left (a+b x^2\right )^2 \sqrt {c+d x^2}}{x^6} \, dx=b^{2} \sqrt {d} \operatorname {arsinh}\left (\frac {d x}{\sqrt {c d}}\right ) - \frac {\sqrt {d x^{2} + c} b^{2}}{x} - \frac {2 \, {\left (d x^{2} + c\right )}^{\frac {3}{2}} a b}{3 \, c x^{3}} + \frac {2 \, {\left (d x^{2} + c\right )}^{\frac {3}{2}} a^{2} d}{15 \, c^{2} x^{3}} - \frac {{\left (d x^{2} + c\right )}^{\frac {3}{2}} a^{2}}{5 \, c x^{5}} \]
b^2*sqrt(d)*arcsinh(d*x/sqrt(c*d)) - sqrt(d*x^2 + c)*b^2/x - 2/3*(d*x^2 + c)^(3/2)*a*b/(c*x^3) + 2/15*(d*x^2 + c)^(3/2)*a^2*d/(c^2*x^3) - 1/5*(d*x^2 + c)^(3/2)*a^2/(c*x^5)
Leaf count of result is larger than twice the leaf count of optimal. 403 vs. \(2 (87) = 174\).
Time = 0.30 (sec) , antiderivative size = 403, normalized size of antiderivative = 3.91 \[ \int \frac {\left (a+b x^2\right )^2 \sqrt {c+d x^2}}{x^6} \, dx=-\frac {1}{2} \, b^{2} \sqrt {d} \log \left ({\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{2}\right ) + \frac {2 \, {\left (15 \, {\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{8} b^{2} c \sqrt {d} + 30 \, {\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{8} a b d^{\frac {3}{2}} - 60 \, {\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{6} b^{2} c^{2} \sqrt {d} - 60 \, {\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{6} a b c d^{\frac {3}{2}} + 30 \, {\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{6} a^{2} d^{\frac {5}{2}} + 90 \, {\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{4} b^{2} c^{3} \sqrt {d} + 40 \, {\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{4} a b c^{2} d^{\frac {3}{2}} + 10 \, {\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{4} a^{2} c d^{\frac {5}{2}} - 60 \, {\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{2} b^{2} c^{4} \sqrt {d} - 20 \, {\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{2} a b c^{3} d^{\frac {3}{2}} + 10 \, {\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{2} a^{2} c^{2} d^{\frac {5}{2}} + 15 \, b^{2} c^{5} \sqrt {d} + 10 \, a b c^{4} d^{\frac {3}{2}} - 2 \, a^{2} c^{3} d^{\frac {5}{2}}\right )}}{15 \, {\left ({\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{2} - c\right )}^{5}} \]
-1/2*b^2*sqrt(d)*log((sqrt(d)*x - sqrt(d*x^2 + c))^2) + 2/15*(15*(sqrt(d)* x - sqrt(d*x^2 + c))^8*b^2*c*sqrt(d) + 30*(sqrt(d)*x - sqrt(d*x^2 + c))^8* a*b*d^(3/2) - 60*(sqrt(d)*x - sqrt(d*x^2 + c))^6*b^2*c^2*sqrt(d) - 60*(sqr t(d)*x - sqrt(d*x^2 + c))^6*a*b*c*d^(3/2) + 30*(sqrt(d)*x - sqrt(d*x^2 + c ))^6*a^2*d^(5/2) + 90*(sqrt(d)*x - sqrt(d*x^2 + c))^4*b^2*c^3*sqrt(d) + 40 *(sqrt(d)*x - sqrt(d*x^2 + c))^4*a*b*c^2*d^(3/2) + 10*(sqrt(d)*x - sqrt(d* x^2 + c))^4*a^2*c*d^(5/2) - 60*(sqrt(d)*x - sqrt(d*x^2 + c))^2*b^2*c^4*sqr t(d) - 20*(sqrt(d)*x - sqrt(d*x^2 + c))^2*a*b*c^3*d^(3/2) + 10*(sqrt(d)*x - sqrt(d*x^2 + c))^2*a^2*c^2*d^(5/2) + 15*b^2*c^5*sqrt(d) + 10*a*b*c^4*d^( 3/2) - 2*a^2*c^3*d^(5/2))/((sqrt(d)*x - sqrt(d*x^2 + c))^2 - c)^5
Timed out. \[ \int \frac {\left (a+b x^2\right )^2 \sqrt {c+d x^2}}{x^6} \, dx=\int \frac {{\left (b\,x^2+a\right )}^2\,\sqrt {d\,x^2+c}}{x^6} \,d x \]